<div class="page-group">
    <div class="page page-current">
        <header class="bar bar-nav" style="background: orangered;display: none">
            <h1 class='title' style="color: white" id="msy">首页</h1>
        </header>

        <div class="content" style="background: #F7F7F7">
            <div class="MySearch">
                <div style="margin-top: 0.5rem;width: 10%;float: left;"><i class="fa fa-reorder fa-lg" style="color: orangered;margin-left: 0.5rem"></i></div>
                <div class="searchbar" style="width: 90%">
                    <a class="searchbar-cancel MySearchButton" ng-click="MySearch()">搜索</a>
                    <div class="search-input">
                        <label class="icon"><i class="fa fa-search" style="color: orangered"></i></label>
                        <input type="search" id='search' placeholder='输入关键字...' style="border-radius: 2rem;" ng-model="searchSchool"/>
                    </div>
                </div>
            </div>
            <div id="banner">
                <div class="banner_con">
                    <a class = "bannerImg" href=""><img src="img/banner08.jpg"  class="MySlidImg" style = "display: block;"/></a>
                </div>
            </div>

            <!--学校列表start-->
            <div id="schoolList" class="grid-demo">
                <div class="row myTitleBac">
                    <div class="col-50 myTitleIco">
                        <span style="color: orangered;margin-left: 0.6rem"><i class="fa fa-bookmark"></i></span>
                        <span class="tab-label" style="color:black;font-family: 'SimSun';font-weight: 500">热门学校</span>
                    </div>
                    <div class="col-50 myTitleIco" id="schoolUpdate" ng-click="HomepageUpdateData()" onclick="refresh('MySchoolUpdateIcon')">
                        <span class="fa-spin" style="margin-left: 4.5rem"><i id="MySchoolUpdateIcon" class="fa fa-refresh" style="color: orangered"></i></span>
                        <span class="tab-label labelContent">换一换</span>
                    </div>
                </div>
                <div class="schoolList_con row" >
                    <span ng-repeat="schoolInfo in schoolInfoArr" ng-click="shareSchoolName(schoolInfo.schoolName)">
                        <div class="col-25 school_list">
                            <a class = "schoolListImg" ui-sref="SchoolActivities">
                                <img src="http://139.199.71.21:8080/gxjlpt/resource/images/{{schoolInfo.schoolImgPath}}" style = "display: block;"/>
                            </a>
                            <span class="item-subtitle">{{schoolInfo.schoolName}}</span>
                        </div>
                    </span>
                </div>
                <div id="clear"></div>
            </div>
            <!--学校列表end-->

            <!--热门活动start-->
            <div id="hotActivity">
                <div class="row myTitleBac">
                    <div class="col-50 myTitleIco">
                        <span style="color: orangered;margin-left: 0.6rem"><i class="fa fa-bookmark"></i></span>
                        <span class="tab-label" style="color:black;font-family: 'SimSun';font-weight: 500">热门活动</span>
                    </div>
                    <div class="col-50 myTitleIco" ng-click="HomepageUpdateActivityData()" onclick="refresh('MySchoolUpdateIcon1')">
                        <span class="fa-spin" style="margin-left: 4.5rem"><i id="MySchoolUpdateIcon1" class="fa fa-refresh" style="color: orangered"></i></span>
                        <span class="tab-label" style="color:gray;font-size:small;font-family: 'Microsoft YaHei'">换一换</span>
                    </div>
                </div>
                <div class="hotActivity_con" id="{{activityInfomation.activityId}}" ng-repeat="activityInfomation in activityInfoArr">
                    <div class="card myAct" ng-click="shareActivityId()">
                        <div class="card-content">
                            <div class="list-block media-list">
                                <ul ui-sref="EventDetails">
                                    <li class="item-content">
                                        <div class="item-media">
                                            <img src="http://139.199.71.21:8080/gxjlpt/resource/images/{{activityInfomation.activityImgPath}}" style="width: 4.5rem">
                                        </div>
                                        <div class="item-inner">
                                            <div class="item-title-row">
                                                <div style="color: #000;font-family: 'Microsoft YaHei'">{{activityInfomation.activityTitle}}</div>
                                            </div>
                                            <div class="item-subtitle" style="font-family: 'Microsoft YaHei';font-size: 0.7rem;margin-top: 0.5rem">{{activityInfomation.activityContent}}</div>
                                            <div class="item-title-row">
                                                <div class="item-title" style="font-size: 0.7rem;margin-top: 0.5rem">地点：{{activityInfomation.activityAddress}}</div>
                                            </div>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script ng-init="MySuiInit()"></script>
